#!/bin/bash

set -eux
cd "$(dirname $0)"

# 下载 cni 网络插件
wget https://github.com/containernetworking/plugins/releases/download/v1.2.0/cni-plugins-linux-amd64-v1.2.0.tgz

# 下载 containerd
wget https://github.com/containerd/containerd/releases/download/v1.6.17/containerd-1.6.17-linux-amd64.tar.gz

# 下载 crictl
wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.26.0/crictl-v1.26.0-linux-amd64.tar.gz

# 下载 nerdctl
wget https://github.com/containerd/nerdctl/releases/download/v1.2.0/nerdctl-1.2.0-linux-amd64.tar.gz

# 下载 runc
wget https://github.com/opencontainers/runc/releases/download/v1.1.4/runc.amd64 -O runc.amd64_1.1.4
